package com.ruoyi.shenji.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("sys_relation")
public class Relation {
    @TableField("name")
    private String name;
    @TableField("abbrev")
    private String abbrev;

    public Relation(String name, String abbrev) {
        this.name = name;
        this.abbrev = abbrev;
    }
}
